How to edit object text

Dear user's

I am trying to edit Object text but i don't know dxl coding anybody have dxl code to edit object text send me.
SystemAdmin - Wed Oct 12 02:51:37 EDT 2011

Re: How to edit object text
llandale - Wed Oct 12 15:31:23 EDT 2011

You can assign a value to object text. You need to have an Object handle:

Object o = current
o."Object Text" = "changing text of current Object"

Never tried to use DXL to display the Object properties and go to editing some object.

You can write your own Dialog with a field for the Text, and have a button that says assign what's in the field to the text. is that what you want?

  • Louie

Re: How to edit object text
SystemAdmin - Thu Oct 13 08:37:53 EDT 2011

llandale - Wed Oct 12 15:31:23 EDT 2011
You can assign a value to object text. You need to have an Object handle:

Object o = current
o."Object Text" = "changing text of current Object"

Never tried to use DXL to display the Object properties and go to editing some object.

You can write your own Dialog with a field for the Text, and have a button that says assign what's in the field to the text. is that what you want?

  • Louie

Can i use shortcut key (for newobject Ctrl+N, fornew child object Ctrl+L) in DXL coding like SendKeys we in VBA

Re: How to edit object text
llandale - Thu Oct 13 14:15:14 EDT 2011

SystemAdmin - Thu Oct 13 08:37:53 EDT 2011
Can i use shortcut key (for newobject Ctrl+N, fornew child object Ctrl+L) in DXL coding like SendKeys we in VBA

Ah HA! If you have the main column showing, cntl-T will edit the text of the current object, cntl-H will edit the Heading. You can also double-click in the main column for that object, and will get Heading if it has no Text, otherwise you will edit the Text.